home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Initializing an Extension
- Sent: 3/10/96 10:10 AM
- Received: 3/11/96 8:27 AM
- From: Bernhard S. Wieser, octavian@agt.net
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Thanks Jim and Greg for your [great, helpful] comments.
-
- The following questions and scenario might be [complex] so I hope
- I state the problem clearly.
-
- I have created suite of SOM classes that implement a rich, hierarchical
- data [model.] The scheme is this; a thing called a Property has
- a name and a value. A value can be an integer, real, string, SOM call
- [it looks pretty much like Property SOMClass:SOM Method( in Property
- parameterList )], list of Properties, or an enumeration [of strings.]
-
- Part AAA has an ODExtension that creates a [root] Property for that
- part. AAA stores all its "public" data in the Property such that
- other parts that know about the Property extension can use it. The
- simple example is an inspector part, onto which part AAA can be
- dragged. Anyway, both the owning part and the inspector can
- register callback functions somewhere along the [data tree] that
- will be called if a change occurs to a property.
-
- The question is, where is the appropriate place to have the
- callback? Originally I thought it would be the owner part's
- SOM interface itself. Then I thought I might put it in the
- part's SOM extension. Something doesn't seem right here, so
- now I think I should have some kind of SOM "helper" object
- created by the owner part.
-
- Thanks for any suggestions.
-
- B
-
- /--------------------------------\+/------------------------------------\
- | Bernhard S. Wieser | "Do not copy the opinions of the |
- | Octavian Micro Development Inc. | arrogant, or let them dictate your |
- | octavian@agt.net | own, but look at things in their |
- | fax (403)289-5986 | own true light." - Marcus Aurelius |
- \--------------------------------/+\------------------------------------/
-
-